package com.yun.pojo;

public class Pet {
    private int pId;
    private String pName;
    private int pAge;
    private int pSex;
    private String illness;
    private String master;
    private String pSickroom;
    private String pDoctor;
    private String treatment;



    public Pet() {
    }

    public Pet(int pId, String pName, int pAge, int pSex, String illness, String master, String pSickroom, String pDoctor,String treatment) {
        this.pId = pId;
        this.pName = pName;
        this.pAge = pAge;
        this.pSex = pSex;
        this.illness = illness;
        this.master = master;
        this.pSickroom = pSickroom;
        this.pDoctor = pDoctor;
        this.treatment = treatment;
    }


    public String getTreatment() {
        return treatment;
    }

    public void setTreatment(String treatment) {
        this.treatment = treatment;
    }

    public String getpSickroom() {
        return pSickroom;
    }

    public void setpSickroom(String pSickroom) {
        this.pSickroom = pSickroom;
    }

    public String getpDoctor() {
        return pDoctor;
    }

    public void setpDoctor(String pDoctor) {
        this.pDoctor = pDoctor;
    }



    public int getpId() {
        return pId;
    }

    public void setpId(int pId) {
        this.pId = pId;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public int getpAge() {
        return pAge;
    }

    public void setpAge(int pAge) {
        this.pAge = pAge;
    }

    public int getpSex() {
        return pSex;
    }

    public void setpSex(int pSex) {
        this.pSex = pSex;
    }

    public String getIllness() {
        return illness;
    }

    public void setIllness(String illness) {
        this.illness = illness;
    }

    public String getMaster() {
        return master;
    }

    public void setMaster(String master) {
        this.master = master;
    }

    @Override
    public String toString() {
        return "Pet{" +
                "pId=" + pId +
                ", pName='" + pName + '\'' +
                ", pAge=" + pAge +
                ", pSex=" + pSex +
                ", illness='" + illness + '\'' +
                '}';
    }
}
